package com.exposit.zbs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;


/**
 * Created by Andrey on 25.08.2014.
 */
@Controller
@RequestMapping(value = "/messages")
public class MessageController {

	@RequestMapping(value = "/chat/{userId}", method = RequestMethod.GET)
	public ModelAndView chatWithHuman() {

		ModelAndView mav = new ModelAndView("my.messages");
		return mav;
	}
}
